
import type { FloatyWindow } from 'floaty'
import type { View } from 'ui'
export interface IFloatyWindowOn{
    (...args: any[]): void
}
export interface IFloatyWindow {
    window: FloatyWindow & {
        [prop: string]: View;
    };
    on(key: 'ON_CLICK' | string, fn: IFloatyWindowOn):void;
    emit(key: string, ...args: any[]):void;
    render(xml: string):void;
    dispose(): void | Promise<void>;
}
